package app.srong.vo;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;

public class SubTopic {

    private Integer id;
    private String name;
    private Integer parentId;
    private Integer practiceCount;
    private LocalDate createTime;

    private Map<String,String> params;
    private List<SubTopicDetail> details;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getPracticeCount() {
        return practiceCount;
    }

    public void setPracticeCount(Integer practiceCount) {
        this.practiceCount = practiceCount;
    }

    public LocalDate getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDate  createTime) {
        this.createTime = createTime;
    }

    public Map<String, String> getParams() {
        return params;
    }

    public void setParams(Map<String, String> params) {
        this.params = params;
    }

    public List<SubTopicDetail> getDetails() {
        return details;
    }

    public void setDetails(List<SubTopicDetail> details) {
        this.details = details;
    }
}
